<script lang='ts' setup>
import { getPicture } from '@/assets/工具/工具类';
import TitleBar from '@/components/标题.vue'
import router from '@/router';

const PictureProduct =() =>{
    router.push('/PictureProduct')
}
</script>
<template>
    <div class="组件根元素">
        <TitleBar title="摄影类型"/>
        <div class="Profile">
            <div class="Location"><img :src="getPicture('校园/产品拍摄.png')" alt="">
            
            <div id="know">
                <p>产品拍摄</p>
                <p> 家具 农产品  美妆</p>
                <p @click="PictureProduct" class="KnowLocation">了解详情</p></div>
            </div>
            <div class="Location"><img :src="getPicture('校园/樱花写真.png')" alt="">
             
                <div id="know">
                <p>人像写真</p>
                <p> 风格  节日  校园</p>
                <p @click="$router.push('/PictureMan')" class="KnowLocation">了解详情</p></div>
            </div>
            <div class="Location"><img :src="getPicture('校园/领证跟拍.png')" alt="">
             
                <div id="know">
                <p>个性跟拍</p>
                <p> 领证 订婚  生日</p>
                <p @click="$router.push('/PersonalityTrackingServlet')" class="KnowLocation">了解详情</p></div></div>

        </div>
    </div>
</template>


<style scoped>
.Location{
    margin-bottom: 20px !important;
}

.Location,img{

    border-radius: 10px;
    background-color: rgba(255, 255, 255, 1);

}
#know p:nth-child(1){
   margin: 0;
   font-size: 16px;
   line-height: 30px;

}
#know p:nth-child(2){
    font-size: 14px;
    color: rgba(153, 153, 153, 1);
    line-height: 30px;
    margin: 0;

}
.KnowLocation{
    position: absolute;
    background-color:rgba(120, 78, 35, 1);
    width: 130px;
    line-height: 30px;
    text-align: center;
    display: block;
    border-radius: 20px;
    font-size: 14px;
    font-weight: normal;
    color: rgba(255, 255, 255, 1);
    left: 200px;
    top: -1px;
}
#know{
   
    position: relative;
    padding: 0px 10px 1px;
    box-sizing: border-box;
    height: 60px;
  
}
.Profile p{
    font-weight: bold;
}
.Profile div,img{
    width: 343px;
    margin: auto;
}
.Profile{
    width: 343px;
    margin: auto;
   
}
.组件根元素{
    background-color: rgb(234, 234, 234);
}
</style>
